#!/usr/bin/python

import time
localtime = time.localtime(time.time())
n_hour = localtime.tm_hour
n_min = localtime.tm_min

if n_min >= 30:
    f_hour = 16 - n_hour
    f_min = 90 - n_min
else:
    f_hour = 17 - n_hour
    f_min = 30 - n_min
print("after school time have %s:%s"%(f_hour,f_min))
